package com.kd.xjoa.scheduled.search.bean;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.serializer.SerializerFeature;

public class IndexResult implements Serializable{
	
	private static final long serialVersionUID = 1L;

	private Integer code;
	
	private String msg;
	
	private IndexData data;

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public IndexData getData() {
		return data;
	}

	public void setData(IndexData data) {
		this.data = data;
	}
	
	@Override
    public String toString() {
		return JSON.toJSONString(this, SerializerFeature.DisableCircularReferenceDetect);
    }
}
